import axios from "../../utils/axios";
//获取抬头字段
export function info(query){
    return axios({
        url: "goldendays-order/merchant/finance/getCapitalType",
        method: "get",
        params: query
    });
}
//获取明细查询类型 goldendays-order/merchant/finance/getFundsType
export function getFundsType(query){
    return axios({
        url:"goldendays-order/merchant/finance/getFundsType",
        method:"get",
        params:query
    })
}

//获取用户交易明细  goldendays-order/merchant/finance/queryTransactionDetail
export function getFundsList(query){
    return axios({
        url:"goldendays-order/merchant/finance/queryTransactionDetail",
        method:"get",
        params:query
    })
}

//获取用户结算明细   goldendays-order/merchant/finance/queryUserSettleDetail
export function getPayList(query){
    return axios({
        url:"goldendays-order/merchant/finance/queryUserSettleDetail",
        method:"get",
        params:query
    })
}

//获取用户预结算明细 goldendays-order/merchant/finance/queryUserPreSettleDetail
export function getReadyList(query){
    return axios({
        url:"goldendays-order/merchant/finance/queryUserPreSettleDetail",
        method:"get",
        params:query
    })
}

//获取资金申请列表 /goldendays-user/merchantUser/getFunds
export function getFunds(query){
    return axios({
        url:"goldendays-user/merchantUser/getFunds",
        method:"get",
        params:query
    })
}